Optimal. Leaf size=546 \[ -\frac{\sqrt [4]{2} \left (19-2 \sqrt{2}\right ) \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} \text{EllipticF}\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right ),\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{135 \sqrt{2 x^4+2 x^2+1}}+\frac{5 \sqrt [4]{2} \left (5-3 \sqrt{2}\right ) \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} \text{EllipticF}\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right ),\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{189 \sqrt{2 x^4+2 x^2+1}}+\frac{4 \sqrt{2} \sqrt{2 x^4+2 x^2+1} x}{45 \left (\sqrt{2} x^2+1\right )}-\frac{4 \sqrt{2 x^4+2 x^2+1}}{45 x}+\frac{4 \sqrt{2 x^4+2 x^2+1}}{135 x^3}-\frac{\sqrt{2 x^4+2 x^2+1}}{15 x^5}-\frac{2}{27} \sqrt{\frac{5}{3}} \tan ^{-1}\left (\frac{\sqrt{\frac{5}{3}} x}{\sqrt{2 x^4+2 x^2+1}}\right )-\frac{4 \sqrt [4]{2} \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} E\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{45 \sqrt{2 x^4+2 x^2+1}}+\frac{5 \left (3+\sqrt{2}\right )^2 \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} \Pi \left (\frac{1}{24} \left (12-11 \sqrt{2}\right );2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{567 \sqrt [4]{2} \sqrt{2 x^4+2 x^2+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.543553, antiderivative size = 546, normalized size of antiderivative = 1., number of steps used = 13, number of rules used = 9, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.31, Rules used = {1309, 1281, 1197, 1103, 1195, 1329, 1714, 1708, 1706} \[ \frac{4 \sqrt{2} \sqrt{2 x^4+2 x^2+1} x}{45 \left (\sqrt{2} x^2+1\right )}-\frac{4 \sqrt{2 x^4+2 x^2+1}}{45 x}+\frac{4 \sqrt{2 x^4+2 x^2+1}}{135 x^3}-\frac{\sqrt{2 x^4+2 x^2+1}}{15 x^5}-\frac{2}{27} \sqrt{\frac{5}{3}} \tan ^{-1}\left (\frac{\sqrt{\frac{5}{3}} x}{\sqrt{2 x^4+2 x^2+1}}\right )-\frac{\sqrt [4]{2} \left (19-2 \sqrt{2}\right ) \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{135 \sqrt{2 x^4+2 x^2+1}}+\frac{5 \sqrt [4]{2} \left (5-3 \sqrt{2}\right ) \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{189 \sqrt{2 x^4+2 x^2+1}}-\frac{4 \sqrt [4]{2} \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} E\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{45 \sqrt{2 x^4+2 x^2+1}}+\frac{5 \left (3+\sqrt{2}\right )^2 \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} \Pi \left (\frac{1}{24} \left (12-11 \sqrt{2}\right );2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{567 \sqrt [4]{2} \sqrt{2 x^4+2 x^2+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1309
Rule 1281
Rule 1197
Rule 1103
Rule 1195
Rule 1329
Rule 1714
Rule 1708
Rule 1706
Rubi steps
\begin{align*} \int \frac{\sqrt{1+2 x^2+2 x^4}}{x^6 \left (3+2 x^2\right )} \, dx &=\frac{1}{9} \int \frac{3+4 x^2}{x^6 \sqrt{1+2 x^2+2 x^4}} \, dx+\frac{10}{9} \int \frac{1}{x^2 \left (3+2 x^2\right ) \sqrt{1+2 x^2+2 x^4}} \, dx\\ &=-\frac{\sqrt{1+2 x^2+2 x^4}}{15 x^5}-\frac{10 \sqrt{1+2 x^2+2 x^4}}{27 x}-\frac{1}{45} \int \frac{4+18 x^2}{x^4 \sqrt{1+2 x^2+2 x^4}} \, dx+\frac{10}{27} \int \frac{-2+6 x^2+4 x^4}{\left (3+2 x^2\right ) \sqrt{1+2 x^2+2 x^4}} \, dx\\ &=-\frac{\sqrt{1+2 x^2+2 x^4}}{15 x^5}+\frac{4 \sqrt{1+2 x^2+2 x^4}}{135 x^3}-\frac{10 \sqrt{1+2 x^2+2 x^4}}{27 x}+\frac{1}{135} \int \frac{-38+8 x^2}{x^2 \sqrt{1+2 x^2+2 x^4}} \, dx+\frac{5}{54} \int \frac{-8+12 \sqrt{2}+\left (24-4 \left (6-2 \sqrt{2}\right )\right ) x^2}{\left (3+2 x^2\right ) \sqrt{1+2 x^2+2 x^4}} \, dx-\frac{1}{27} \left (10 \sqrt{2}\right ) \int \frac{1-\sqrt{2} x^2}{\sqrt{1+2 x^2+2 x^4}} \, dx\\ &=-\frac{\sqrt{1+2 x^2+2 x^4}}{15 x^5}+\frac{4 \sqrt{1+2 x^2+2 x^4}}{135 x^3}-\frac{4 \sqrt{1+2 x^2+2 x^4}}{45 x}+\frac{10 \sqrt{2} x \sqrt{1+2 x^2+2 x^4}}{27 \left (1+\sqrt{2} x^2\right )}-\frac{10 \sqrt [4]{2} \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{27 \sqrt{1+2 x^2+2 x^4}}-\frac{1}{135} \int \frac{-8+76 x^2}{\sqrt{1+2 x^2+2 x^4}} \, dx-\frac{1}{189} \left (10 \left (6-5 \sqrt{2}\right )\right ) \int \frac{1}{\sqrt{1+2 x^2+2 x^4}} \, dx+\frac{1}{189} \left (20 \left (2+3 \sqrt{2}\right )\right ) \int \frac{1+\sqrt{2} x^2}{\left (3+2 x^2\right ) \sqrt{1+2 x^2+2 x^4}} \, dx\\ &=-\frac{\sqrt{1+2 x^2+2 x^4}}{15 x^5}+\frac{4 \sqrt{1+2 x^2+2 x^4}}{135 x^3}-\frac{4 \sqrt{1+2 x^2+2 x^4}}{45 x}+\frac{10 \sqrt{2} x \sqrt{1+2 x^2+2 x^4}}{27 \left (1+\sqrt{2} x^2\right )}-\frac{2}{27} \sqrt{\frac{5}{3}} \tan ^{-1}\left (\frac{\sqrt{\frac{5}{3}} x}{\sqrt{1+2 x^2+2 x^4}}\right )-\frac{10 \sqrt [4]{2} \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{27 \sqrt{1+2 x^2+2 x^4}}+\frac{5 \sqrt [4]{2} \left (5-3 \sqrt{2}\right ) \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{189 \sqrt{1+2 x^2+2 x^4}}+\frac{5 \left (3+\sqrt{2}\right )^2 \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} \Pi \left (\frac{1}{24} \left (12-11 \sqrt{2}\right );2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{567 \sqrt [4]{2} \sqrt{1+2 x^2+2 x^4}}+\frac{1}{135} \left (38 \sqrt{2}\right ) \int \frac{1-\sqrt{2} x^2}{\sqrt{1+2 x^2+2 x^4}} \, dx+\frac{1}{135} \left (2 \left (4-19 \sqrt{2}\right )\right ) \int \frac{1}{\sqrt{1+2 x^2+2 x^4}} \, dx\\ &=-\frac{\sqrt{1+2 x^2+2 x^4}}{15 x^5}+\frac{4 \sqrt{1+2 x^2+2 x^4}}{135 x^3}-\frac{4 \sqrt{1+2 x^2+2 x^4}}{45 x}+\frac{4 \sqrt{2} x \sqrt{1+2 x^2+2 x^4}}{45 \left (1+\sqrt{2} x^2\right )}-\frac{2}{27} \sqrt{\frac{5}{3}} \tan ^{-1}\left (\frac{\sqrt{\frac{5}{3}} x}{\sqrt{1+2 x^2+2 x^4}}\right )-\frac{4 \sqrt [4]{2} \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{45 \sqrt{1+2 x^2+2 x^4}}+\frac{5 \sqrt [4]{2} \left (5-3 \sqrt{2}\right ) \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{189 \sqrt{1+2 x^2+2 x^4}}-\frac{\sqrt [4]{2} \left (19-2 \sqrt{2}\right ) \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{135 \sqrt{1+2 x^2+2 x^4}}+\frac{5 \left (3+\sqrt{2}\right )^2 \left (1+\sqrt{2} x^2\right ) \sqrt{\frac{1+2 x^2+2 x^4}{\left (1+\sqrt{2} x^2\right )^2}} \Pi \left (\frac{1}{24} \left (12-11 \sqrt{2}\right );2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{567 \sqrt [4]{2} \sqrt{1+2 x^2+2 x^4}}\\ \end{align*}
Mathematica [C] time = 0.247131, size = 224, normalized size = 0.41 \[ -\frac{-(12+24 i) \sqrt{1-i} \sqrt{1+(1-i) x^2} \sqrt{1+(1+i) x^2} x^5 \text{EllipticF}\left (i \sinh ^{-1}\left (\sqrt{1-i} x\right ),i\right )+72 x^8+48 x^6+66 x^4+42 x^2+36 i \sqrt{1-i} \sqrt{1+(1-i) x^2} \sqrt{1+(1+i) x^2} x^5 E\left (\left .i \sinh ^{-1}\left (\sqrt{1-i} x\right )\right |i\right )+50 (1-i)^{3/2} \sqrt{1+(1-i) x^2} \sqrt{1+(1+i) x^2} x^5 \Pi \left (\frac{1}{3}+\frac{i}{3};\left .i \sinh ^{-1}\left (\sqrt{1-i} x\right )\right |i\right )+27}{405 x^5 \sqrt{2 x^4+2 x^2+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.018, size = 549, normalized size = 1. \begin{align*}{\frac{8\,{\it EllipticF} \left ( x\sqrt{-1+i},1/2\,\sqrt{2}+i/2\sqrt{2} \right ) }{27\,\sqrt{-1+i}}\sqrt{-i{x}^{2}+{x}^{2}+1}\sqrt{i{x}^{2}+{x}^{2}+1}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}-{\frac{{\frac{4\,i}{27}}{\it EllipticF} \left ( x\sqrt{-1+i},{\frac{\sqrt{2}}{2}}+{\frac{i}{2}}\sqrt{2} \right ) }{\sqrt{-1+i}}\sqrt{-i{x}^{2}+{x}^{2}+1}\sqrt{i{x}^{2}+{x}^{2}+1}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}-{\frac{4\,{\it EllipticE} \left ( x\sqrt{-1+i},1/2\,\sqrt{2}+i/2\sqrt{2} \right ) }{27\,\sqrt{-1+i}}\sqrt{-i{x}^{2}+{x}^{2}+1}\sqrt{i{x}^{2}+{x}^{2}+1}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}-{\frac{ \left ({\frac{32}{135}}-{\frac{32\,i}{135}} \right ) \left ({\it EllipticF} \left ( x\sqrt{-1+i},{\frac{\sqrt{2}}{2}}+{\frac{i}{2}}\sqrt{2} \right ) -{\it EllipticE} \left ( x\sqrt{-1+i},{\frac{\sqrt{2}}{2}}+{\frac{i}{2}}\sqrt{2} \right ) \right ) }{\sqrt{-1+i}}\sqrt{1+ \left ( 1-i \right ){x}^{2}}\sqrt{1+ \left ( 1+i \right ){x}^{2}}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}-{\frac{20}{81\,\sqrt{-1+i}}\sqrt{-i{x}^{2}+{x}^{2}+1}\sqrt{i{x}^{2}+{x}^{2}+1}{\it EllipticPi} \left ( x\sqrt{-1+i},{\frac{1}{3}}+{\frac{i}{3}},{\frac{\sqrt{-1-i}}{\sqrt{-1+i}}} \right ){\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}-{\frac{4}{45\,x}\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}-{\frac{4\,{\it EllipticF} \left ( x\sqrt{-1+i},1/2\,\sqrt{2}+i/2\sqrt{2} \right ) }{45\,\sqrt{-1+i}}\sqrt{1+ \left ( 1-i \right ){x}^{2}}\sqrt{1+ \left ( 1+i \right ){x}^{2}}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}+{\frac{{\frac{4\,i}{27}}{\it EllipticE} \left ( x\sqrt{-1+i},{\frac{\sqrt{2}}{2}}+{\frac{i}{2}}\sqrt{2} \right ) }{\sqrt{-1+i}}\sqrt{-i{x}^{2}+{x}^{2}+1}\sqrt{i{x}^{2}+{x}^{2}+1}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}-{\frac{1}{15\,{x}^{5}}\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}+{\frac{4}{135\,{x}^{3}}\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{2 \, x^{4} + 2 \, x^{2} + 1}}{{\left (2 \, x^{2} + 3\right )} x^{6}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{2 \, x^{4} + 2 \, x^{2} + 1}}{2 \, x^{8} + 3 \, x^{6}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{2 x^{4} + 2 x^{2} + 1}}{x^{6} \left (2 x^{2} + 3\right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{2 \, x^{4} + 2 \, x^{2} + 1}}{{\left (2 \, x^{2} + 3\right )} x^{6}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]